import {defineConfig} from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
    title: "编程知识库",
    description: "知识库",
    themeConfig: {
        // https://vitepress.dev/reference/default-theme-config
        nav: [
            {text: '主页', link: '/'},
            {text: '后端开发知识库', link: '/docs/backend/Spring'},
            {text: '前端开发知识库', link: '/docs/front/Vue2'},
            {text: 'AI大模型知识库', link: '/docs/ai/Ollama'},
            {text: '服务器知识库', link: '/docs/server/VitePress构建静态站点'},
            {text: '问题库', link: '/docs/question/面试问题合集'}
        ],
        sidebar: [
            {
                text: '后端开发知识库',
                items: [
                    {
                        text: "Spring",
                        link: '/docs/backend/Spring'
                    }, {
                        text: "SpringAOP",
                        link: '/docs/backend/SpringAOP'
                    }, {
                        text: "Spring的事务控制",
                        link: '/docs/backend/Spring的事务控制'
                    }, {
                        text: "Spring集成web环境",
                        link: '/docs/backend/Spring集成web环境'
                    }, {
                        text: "SpringMVC拦截器",
                        link: '/docs/backend/SpringMVC拦截器'
                    }, {
                        text: "SpringMVC的数据响应",
                        link: '/docs/backend/SpringMVC的数据响应'
                    }, {
                        text: "Spring数据源配置",
                        link: '/docs/backend/Spring数据源配置'
                    }, {
                        text: "SpringJDBCTemplate",
                        link: '/docs/backend/SpringJDBCTemplate'
                    }, {
                        text: "FastJson",
                        link: '/docs/backend/FastJson'
                    }, {
                        text: "Jackson",
                        link: '/docs/backend/Jackson'
                    }, {
                        text: "Gson",
                        link: '/docs/backend/Gson'
                    }, {
                        text: "MyBatis",
                        link: '/docs/backend/MyBatis'
                    }, {
                        text: "MySQL企业开发性能优化",
                        link: '/docs/backend/MySQL企业开发性能优化'
                    }, {
                        text: "Swagger",
                        link: '/docs/backend/Swagger'
                    }, {
                        text: "SpringSecurity",
                        link: '/docs/backend/SpringSecurity'
                    }, {
                        text: "Crontab定时任务",
                        link: '/docs/backend/Crontab定时任务'
                    }, {
                        text: "SpringCloud",
                        link: '/docs/backend/SpringCloud'
                    }, {
                        text: " 微服务介绍",
                        link: '/docs/backend/微服务介绍'
                    }, {
                        text: " 微服务技术栈",
                        link: '/docs/backend/微服务技术栈'
                    }, {
                        text: "Eureka",
                        link: '/docs/backend/Eureka'
                    }, {
                        text: "Feign",
                        link: '/docs/backend/Feign'
                    }, {
                        text: "Ribbon",
                        link: '/docs/backend/Ribbon'
                    }, {
                        text: "基于Restful配置和详解",
                        link: '/docs/backend/基于Restful配置和详解'
                    }, {
                        text: "Zuul路由网关",
                        link: '/docs/backend/Zuul路由网关'
                    }, {
                        text: "Hystrix",
                        link: '/docs/backend/Hystrix'
                    }, {
                        text: "SpringCloudConfig",
                        link: '/docs/backend/SpringCloudConfig'
                    }, {
                        text: "分布式理论",
                        link: '/docs/backend/分布式理论'
                    }, {
                        text: "Dubbo概念",
                        link: '/docs/backend/Dubbo概念'
                    }, {
                        text: "Dubbo_Zookeeper总结",
                        link: '/docs/backend/Dubbo_Zookeeper总结'
                    }, {
                        text: "Redis",
                        link: '/docs/backend/Redis'
                    }, {
                        text: "RabbitMQ",
                        link: '/docs/backend/RabbitMQ'
                    }, {
                        text: "RocketMQ",
                        link: '/docs/backend/RocketMQ'
                    },  {
                        text: "Kafka",
                        link: '/docs/backend/Kafka'
                    },  {
                        text: "EMQX",
                        link: '/docs/backend/EMQX'
                    },  {
                        text: "业务流程技术",
                        link: '/docs/backend/业务流程技术'
                    }, {
                        text: "ElasticSearch",
                        link: '/docs/backend/ElasticSearch'
                    }, {
                        text: "Arthas",
                        link: '/docs/backend/Arthas'
                    }
                ]
            },
            {
                text: '服务器知识库',
                items:
                    [
                        {text: 'VitePress构建静态站点', link: '/docs/server/VitePress构建静态站点'},
                        {text: 'Linux操作大全', link: '/docs/server/Linux操作大全'},
                        {text: 'Nginx', link: '/docs/server/Nginx'},
                        {text: 'Docker(基础篇)', link: '/docs/server/Docker基础篇'},
                        {text: 'Docker(进阶篇)', link: '/docs/server/Docker进阶篇'},
                        {text: 'Docker(番外篇)', link: '/docs/server/Docker番外篇'},
                        {text: 'Jenkins', link: '/docs/server/Jenkins'},
                        {text: 'Nacos', link: '/docs/server/Nacos'}
                    ]
            },
            {
                text: 'Ai大模型知识库',
                items:
                    [
                        {text: 'Ollama', link: '/docs/ai/Ollama'},
                        {text: 'RAG训练', link: '/docs/ai/RAG训练'},
                        {text: '模型集成业务系统', link: '/docs/ai/模型集成业务系统'}
                    ]
            },
            {
                text: '前端开发知识库',
                items:
                    [
                        {text: 'Vue2', link: '/docs/front/Vue2'}
                    ]
            },
            {
                text: '问题库',
                items:
                    [
                        {text: '面试问题合集', link: '/docs/question/面试问题合集'},
                        {text: 'Git踩坑合集', link: '/docs/question/Git踩坑合集'},
                        {text: '开发踩坑合集', link: '/docs/question/开发踩坑合集'},
                        {text: '数化智甄', link: '/docs/question/数化智甄'},
                        {text: '航天信息(问题)', link: '/docs/question/航天信息'},
                        {text: '航天信息(终极)', link: '/docs/question/航天信息(终极)'},
                        {text: '正佳科技', link: '/docs/question/正佳科技'},
                        {text: '凡拓数创', link: '/docs/question/凡拓数创'},
                    ]
            }
        ],

        socialLinks: [
            {icon: 'github', link: 'https://github.com/vuejs/vitepress'}
        ],

        footer: {
            message: 'Copyright © 2024 lintingfeng.top. All rights reserved.',
            copyright: '粤ICP备2021159058号 <a href="http://beian.miit.gov.cn/" target="_blank">备案查询</a>'
        }
    }
})
